package com.chinasofti.demo06;

public class Student extends  Person {
    //子类可以有自己的属性
    private int score;

    public  Student(){
        super();
    }
    public Student(String name, int age, int score) {
        super(name, age);
        this.score = score;
    }
    public int getScore() {
        return score;
    }
    public void setScore(int score) {
        this.score = score;
    }
    @Override
    public  void show(){

    }


}
